<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
  <link rel="stylesheet" type="text/css" href="msoffice.css" />
  <Title>C64 Studio</Title>
</HEAD>

<body>
  <H3>Map Editor - Editor Pane</H3>
  <div id="mybody">
    The map editor supports arbitrary sized maps of individually sized tiles. A tile is a rectangular layout of characters and colors.<br>
    <br>
    <br>
    <img src="images/ide_map_editor_map.png"><br>
    <br>
    <br>
    <b>Map Pane</b><br>
    Here the actual map editing is done. Choose tiles and paint with left mouse button. Right mouse button fetches the tile under the mouse pointer.<br>
    <br>
    <br>
    <b>Current Map</b><br>
    Chooses the current map to be edited from all maps in the project.<br>
    <br>
    <br>
    <b>Add</b><br>
    Adds a new map of the given size and tile size.<br>
    <br>
    <br>
    <b>Cpy</b><br>
    Creates a copy of the current map.<br>
    <br>
    <br>
    <b>Apply</b><br>
    Applies the size and tile size to the current selected map.<br>
    <br>
    <br>
    <b>Delete</b><br>
    Deletes the current map from the project.<br>
    <br>
    <br>
    <b>MC1</b><br>
    Allows to override the set multi color 1 of the current map from the charset multi color 1.<br>
    <br>
    <br>
    <b>MC2</b><br>
    Allows to override the set multi color 2 of the current map from the charset multi color 1.<br>
    <br>
    <br>
    <b>Extra Data</b><br>
    Additional binary data to be added after the tile data. Enter data in hex, semicolons at the line start are comments.<br>
    <br>
    <br>
    <b>Single Character</b><br>
    Left click sets a single character.<br>
    <br>
    <br>
    <b>Rectangle</b><br>
    Pushing left click starts a rectangle, move around until the size is fine and release to finally draw the rectangle.<br>
    <br>
    <br>
    <b>Filled Rectangle</b><br>
    Pushing left click starts a rectangle, move around until the size is fine and release to finally draw the filled rectangle.<br>
    <br>
    <br>
    <b>Fill</b><br>
    Left click flood fills the character below the cursor with the current char/color.<br>
    <br>
    <br>
    <b>Selection</b><br>
    Pushing left click starts a selection, move around until the size is fine and release to finalise the selection.<br>
    <br>
    Ctrl-C will copy the selection to the clipboard<br>
    <br>
    Ctrl-V will paste the selection as floating, move the cursor to place the selection. Pressing Escape aborts the placing.<br>
    <br>
    <br>
  </div>
  <H3>Map Editor - Tiles Pane</H3>
  <div id="mybody">
    On this screen tiles are created and modified. Tiles can have differing sizes. However the map editor only allows putting tiles at fixed step sizes.<br>
    <br>
    <br>
    <img src="images/ide_map_editor_tiles.png"><br>
    <br>
    <br>
  </div>
  <H3>Map Editor - Project Pane</H3>
  <div id="mybody">
    On the project pane several import/export functions are available.<br>
    <br>
    <br>
    <img src="images/ide_map_editor_project.png"><br>
    <br>
    <br>
    <b>Export data as assembly</b><br>
    The chosen data will be exported as assembly.<br>
    <br>
    "Tiles as elements" will export tiles with width and height arrays plus tile character and color data as consecutive arrays.<br>
    <br>
    "Tiles as data" will export tiles with sparse arrays for every character/color cell.<br>
    <br>
    "Map data" will export map data as consecutive arrays in the orientation chosen.<br>
    <br>
    "Tile data, then map data" appends "Tiles as data" and "Map data".<br>
    <br>
    <br>
    <b>Import from file<b><br>
    Lets you import charpad project files (currently supported version 1.5). Characters above 255 will be ignored!<br>
    <br>
    <br>
  </div>
</body>
</HTML>
